<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="center_common" />
<title>退换货记录</title>
<style type="text/css">
</style>
<script>

</script>
</head>
<body>
	<!-- 右边部分 -->
					<div class="col-sm-10 pad20 pad_10">
						<div class="Credit_right">
							<!--快速下单-->
							<div class="goods_detail_info_box mar_16 return_goods clearfix">
								<h3 class="clearfix">
									<span class="col-sm-6 col-xs-12">
										退货详情
										<em>（日期：<fmt:formatDate pattern="yyyy-MM-dd" value="${returnsGoods.createDate}"/> ）</em>
									</span>
									<a href="javascript:void(0)" class="return_goods_detail col-sm-5">
										退货单号：${returnsGoods.returnCode}
									</a>
								</h3>
								<!--快速下单表格-->
								<div class="our_adress_box">
									<div class="our_adress_table  clearfix">
										<table class="table table-bordered">
										    <thead>
											    <tr>
											        <th>商品名称</th>
											        <th>单价</th>
											        <th>购买数量</th>
											        <th>退换货数量</th>
											        <th>退换货金额</th>
											        <th>退换货总额</th>
											    </tr>
										    </thead>
										    <tbody>
										    	<c:forEach items="${detailCount}" var="bean" varStatus="s" >
										    		<tr>
												        <td>${bean.goodsCnName}</td>
												        <td>${bean.price}</td>
												        <td>${bean.num}</td>
												        <td>${bean.returnGoodsDetailNum}</td>
												        <td>¥${bean.returnGoodsDetailMoney}</td>
												        <c:if test="${s.index == 0}">
												         <td class="color_red" rowspan="${fn:length(detailCount)}">
												        	 ¥${returnsGoods.returnGoodsDetailMoney}
												        </td>
												        </c:if>
											   		 </tr>
										    	</c:forEach>
										    </tbody>
										</table>
									</div>
								</div>
								<!--快速下单表格结束-->
								<div class="return_goods_tips">
									<img src="${ctxWebStatic}/images/warning-icon.png" alt="" />
									<em>退货说明：</em>
									<span>
										${returnsGoods.reason}
									</span>
								</div>
							</div>	
							<!--快速下单结束-->
							
						</div>
					</div>
					<!-- 右边部分 end-->
</body>
</html>
